﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OnlineAuction.TemplateMaster
{
    public partial class WebForm10 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
                DienDuLieu();
        }

        private void DienDuLieu()
        {
            AccountsDataContext wsb= new AccountsDataContext();
            this.GridViewUser.DataSource = wsb.Accounts.ToList();
            this.GridViewUser.DataBind();
        }
    }
}